package com.joe.xl.demo.thread;

public class ThreadLocalDemo {
    private static ThreadLocal<Integer> a = new ThreadLocal<>();

    class Producer implements Runnable{

        @Override
        public void run() {
            a.set(2);
        }
    }

}
